# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreshot
pkgver=3.0.1
pkgrel=0
pkgdesc="A screen capture utility from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev qt5-qtx11extras-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coreshot/-/archive/v$pkgver/coreshot-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="fbac76ece1d42fd35c0b3174b40e3f27b8e17b901b7ef6565b889ba751c83a71794840fcf7686d66e90a849025c8945e3b218c26e477bc289129307e0e0b66c6  coreshot-3.0.1.tar.gz"
